<?php
// 定单模型
class OrderInfoModel extends CommonModel {
	protected $_map = array(
			//form_attribute
			'form_id' => 'id',
			'form_title' => 'title',
			'form_customerid' => 'customerid',
			'form_trueprice' => 'trueprice',
			'form_typeid' => 'typeid',
			'form_usernameorder' => 'usernameorder',
			
	);
	public $_validate	=	array(
		
		);
	
	public $_auto		=	array(
		array('pubdate','time',self::MODEL_INSERT,'function'),
		array('editdate','time',self::MODEL_BOTH,'function'),
		);

	 
}
?>